﻿using System;

public enum ActionType
{
    //**********************************************示例自定义的协议******************************************************//
    /// <summary>
    /// 1002_自动注册，根据设备ID获得用户名和密码
    /// </summary>
    Regist = 1002,
    /// <summary>
    /// 1004_登陆
    /// </summary>
    Login = 1004,
    /// <summary>
    /// 1005_创建角色名
    /// </summary>
    CreateRote = 1005,

    World = 1008,
    /// <summary>
    /// 2000_自定义注册
    /// </summary>
    SelfRegist = 2000,

    //**************************************************德州协议***********************************************************//
	
	/// <summary>
    /// 1002_根据设备属性注册获得账号密码
    /// </summary>
    DZRegist = 10002,

	/// <summary>
	/// 自定义注册
	/// </summary>
	DZRegistSelf = 10003,

    /// <summary>
    /// 10004_根据ID和密码进行登录
    /// </summary>
    DZLogin = 10004,
    /// <summary>
    /// 10005_创建角色
    /// </summary>
    DZCreateRole = 10005,

    /// <summary>
    /// 10006_密码修改
    /// </summary>
    DZChangePwd = 10006,

	/// <summary>
	/// 10007_上传头像
	/// </summary>
	DZUploadHeadIcon = 10007,

    /// <summary>
    /// 10008_请求进入保险大厅入口
    /// </summary>
    DZGotoInsuranceRoom = 10008,

	/// <summary>
	/// 10009_修改自定义账号密码
	/// </summary>
	DZChangPhonePwd = 10009,

	/// <summary>
	/// 10010_检测手机号是否可以注册
	/// </summary>
	DZCheckPhoneNum = 10010,

	/// <summary>
	/// 10016_获得随机名字
	/// </summary>
	DZGetRandomName = 10016,

	/// <summary>
	/// 10017_获得玩家头像
	/// </summary>
	DZGetUserHeadIcon = 10017,

	/// <summary>
	/// 10027_玩家通过桌子编号进入房间
	/// </summary>
	DZApplyEnterInsuranceRoomByTableID = 10027,

	/// <summary>
	/// 10028_发送用户登陆名
	/// </summary>
	DZSendLoginUserName = 10028,

    /// <summary>
    /// 10029_申请组局
    /// </summary>
    DZApplyCreateRoom = 10029,

    /// <summary>
    /// 10030_请求组局
    /// </summary>
    DZCreateRoom = 10030,
    /// <summary>
    /// 10031_申请保险人
    /// </summary>
    DZApplyInsurancer = 10031,

    /// <summary>
    /// 10032_向房间所有人广播某某申请成为保险人
    /// </summary>
    DZBroadcastApplyInsure = 10032,

    /// <summary>
    /// 10033_房主选择成为保险人
    /// </summary>
    DZChooseApplyInsure = 10033,
    /// <summary>
    /// 10034_广播确认某人成为保险人
    /// </summary>
    DZBroadChooseApplyInsure = 10034,
    /// <summary>
    /// 10035_发送聊天消息
    /// </summary>
    DZSendChatMsg = 10035,
    /// <summary>
    /// 10036_向房间中所有人广播聊天消息
    /// </summary>
    DZBroadcastChatMsg = 10036,

    /// <summary>
    /// 10037_房主点击开局请求
    /// </summary>
    DZEnterRoomRequest = 10037,

    /// <summary>
    /// 10038_广播房主点击开局请求
    /// </summary>
    DZBroadcastEnterRoomRequest = 10038,

    /// <summary>
    /// 10039_玩家通过邀请码进入保险页面
    /// </summary>
    DZApplyEnterInsuranceRoomByInviteNum = 10039,

    /// <summary>
    /// 10040_广播某玩家通过邀请码进入保险页面
    /// </summary>
    DZBroadcastApplyEnterInsuranceRoomByInviteNum = 10040,
    /// <summary>
    /// 10041_主动推送其他信息给当前进入房间的玩家
    /// </summary>
    DZNotifyOtherInfoForMe = 10041,

	/// <summary>
	/// 10045_主动申请离开房间
	/// </summary>
	DZApplyLeaveRoom = 10045,

	/// <summary>
	/// 10046_请求离开房间
	/// </summary>
	DZLeaveRoom = 10046,

    /// <summary>
    /// 10047 离开房间广播
    /// </summary>
    DZBrocastLeaveRoom = 10047,
	/// <summary>
	/// 10050_广播给所有玩家房间倒计时
	/// </summary>
	DZBroadcastTimeLeft = 10050,

	/// <summary>
	/// 10059_申请个人信息
	/// </summary>
	DZApplyUserInfo = 10059,

	/// <summary>
	/// 10060_申请个人信息
	/// </summary>
	DZApplySelfInfo = 10060,

	/// <summary>
	/// 10061_修改玩家消息
	/// </summary>
	DZEditSelfInfo = 10061,

	/// <summary>
	/// 10062_修改昵称
	/// </summary>
	DZEditNickName = 10062,

	/// <summary>
	/// 10063_请求个人金币数量
	/// </summary>
	DZApplyDiamodCount = 10063,

	/// <summary>
	/// 10065_请求我保存的牌谱
	/// </summary>
	DZApplySavedRecord = 10065,

	/// <summary>
	/// 10070_请求附近人的人牌局
	/// </summary>
	DZGetNearUserTableInfo = 10070,

    /// <summary>
    /// 20001_进入房间桌子
    /// </summary>
    DZEnterTable = 20001,

    /// <summary> 
    /// 20003_桌子进入通知接口
    /// </summary>
    DZEnterRoom = 20003,

    /// <summary>
    /// 20004_发牌
    /// </summary>
    DZDeal = 20004,

    /// <summary>
    /// 20009_玩家站起
    /// </summary>
    DZGameUserLeaveSet = 20009,

    /// <summary>
    /// 20010_广播玩家站起
    /// </summary>
    DZBrocastGameUserLeaveSet = 20010,

    /// <summary>
    /// 20015_玩家点击开始加入牌局，进入准备状态
    /// </summary>
    DZPlayerGetReady = 20015,

    /// <summary>
    /// 2016_广播玩家座位玩的状态（AllIn和弃牌）
    /// </summary>
    DZBroadCastPositionPlayState = 2016,

    /// <summary>
    /// 20017_广播告诉所有玩家桌子进入等待玩家进入的状态
    /// </summary>
    DZBroadCastTableIsInWaitingState = 20017,


    /// <summary>
    /// 20020_广播所有玩家的筹码(紧跟着30003后面广播)
    /// </summary>
    DZBroadCastAllGameUserChip = 20020,

    /// <summary>
    /// 20025_广播每个玩家当前牌的类型
    /// </summary>
    DZBroadCastPlayerCardType = 20025,

	/// <summary>
	/// 20040_申请好友详细信息
	/// </summary>
	DZApplyFriendsDetailInfo = 20040,

	/// <summary>
	/// 30050_申请试用延时药水
	/// </summary>
	DZApplyUseDelayMedicine = 20050,

	/// <summary>
	/// 30051_广播玩家试用延时药水
	/// </summary>
	DZBrocastUseDelayMedicine = 20051,

    /// <summary>
    /// 30000_玩家选择座位
    /// </summary>
    DZGameUserChooseSet = 30000,

    /// <summary>
    /// 30001_广播玩家选择座位
    /// </summary>
    DZBrocastGameUserChooseSet = 30001,

    /// <summary>
    /// 30002_房主点击开局
    /// </summary>
    DZStartGame = 30002,

    /// <summary>
    ///  30003_广播开局请求
    /// </summary>
    DZBrocastStartGame = 30003,

    /// <summary>
    /// 30004_广播玩家自己的手牌
    /// </summary>
    DZBrocastPlayerCards = 30004,

    /// <summary>
    /// 30005_广播底牌列表(是一个List,可能是三张底牌也可能是一张)
    /// </summary>
    DZBrocastBackCards = 30005,

    /// <summary>
    /// 30006_广播某个玩家开始下注操作
    /// </summary>
    DZBrocastPlayBeginBet = 30006,

    /// <summary>
    /// 30007_玩家下注选择操作
    /// </summary>
    DZPlayBetChoose = 30007,

    /// <summary>
    /// 30008_广播玩家下注选择操作,下了多少注码
    /// </summary>
    DZBrocastPlayBetChoose = 30008,

    /// <summary>
    /// 30009_同步所有玩家底池和桌子上的筹码
    /// </summary>
    DZSyncAllChipNum = 30009,

    /// <summary>
    /// 30010_广播游戏开始
    /// </summary>
    DZGameStart = 30010,

    /// <summary>
    /// 30011_游戏开始倒计时
    /// </summary>
    DZGameStartCountDown = 30011,

    /// <summary>
    /// 30015_广播玩家当前回合的筹码添加进底池
    /// </summary>
    DZBrocastChipIntoAntNum = 30015,

    /// <summary>
    /// 30016_广播玩家获得多少筹码
    /// </summary>
    DZBrocastChipSettlement = 30016,

    /// <summary>
    /// 30017_游戏结束协议
    /// </summary>
    DZBrocastGameOver = 30017,

	/// <summary>
	/// 30023_申请取消保险
	/// </summary>
	DZApplyCancelInsurance = 30023,

	/// <summary>
	/// 30024_广播某玩家操作保险完毕
	/// </summary>
	DZBrocastCancelInsurance = 30024,

    /// <summary>
    /// 30025_弹出保险弹框
    /// </summary>
    DZShowInsurancePanel = 30025,

    /// <summary>
    /// 30026_购买保险
    /// </summary>
    DZBuyInsurance = 30026,

    /// <summary>
    /// 30027_广播购买保险
    /// </summary>
    DZBrocastBuyInsurance = 30027,

    /// <summary>
    /// 30028_取消购买保险
    /// </summary>
    DZCancelInsurance = 30028,

    /// <summary>
    /// 30029_时间到玩家被动取消购买保险(非广播)
    /// </summary>
    DZPassivCancelInsurance = 30029,

	/// <summary>
	/// 30035_请求我的战绩
	/// </summary>
	DZApplyBattleScore = 30035,

	/// <summary>
	/// 30036_请求牌桌的详细记录
	/// </summary>
	DZApplyRecordTableDetailData = 30036,

	/// <summary>
	/// 30037_请求桌子战绩
	/// </summary>
	DZApplyBattleTableScore = 30037,

	/// <summary>
	/// 30040_请求玩家数据
	/// </summary>
	DZApplyPlayerData = 30040,

	/// <summary>
	/// 30047_根据Hand获得上局回顾
	/// </summary>
	DZApplyReviewByHand = 30047,

	/// <summary>
	/// 30048_请求上局回顾
	/// </summary>
	DZApplyReview = 30048,

	/// <summary>
	/// 30049_保存当前牌局的下注记录
	/// </summary>
	DZSaveTableBetRecord = 30049,

	/// <summary>
	/// 30050_输光的玩家申请筹码
	/// </summary>
	DZApplyChip = 30050,

	/// <summary>
	/// 30051_弹出申请筹码的弹框
	/// </summary>
	DZShowApplyChipInfoTip = 30051,

	/// <summary>
	/// 30052_弹出房主处理申请筹码的信息弹框
	/// </summary>
	DZAuditApplyChipInfoTip = 30052,

	/// <summary>
	/// 30053_房主处理申请筹码结果(同意还是不同意)
	/// </summary>
	DZAuditApplyChipResult = 30053,

	/// <summary>
	/// 30054_广播房主处理玩家申请筹码结果
	/// </summary>
	DZBrocastAuditApplyChipResult = 30054,

	/// <summary>
	/// 30056_邀请某人加入牌桌
	/// </summary>
	DZApplyInviteOthersToTable = 30056,

	/// <summary>
	/// 30057_请求我的被邀请的信息
	/// </summary>
	DZGetBeInvitedInfo = 30057,

	/// <summary>
	/// 30058_删除邀请信息
	/// </summary>
	DZDeleteInviteInfo = 30058,

    /// <summary>
    /// 30060_游戏商店支付请求
    /// </summary>
    DZShopPayRequest = 30060,

	/// <summary>
	/// 30065_请求发送表情
	/// </summary>
	DZApplySendExpression = 30065,

	/// <summary>
	/// 30066_广播玩家发送的表情
	/// </summary>
	DZBrocastSendExpression = 30066,

	/// <summary>
	/// 30068_获得当前我所参与的牌桌
	/// </summary>
	DZGetMyCurrentPlayingTables = 30068,

	/// <summary>
	/// 30069_牌桌界面右下角及时消息获得好友列表/牌桌
	/// </summary>
	DZGetRealMessageFriendsTableInfo = 30069,

	/// <summary>
	/// 30089_移动平台上的点击玩家头像
	/// </summary>
	DZClickPlayerHeadIconOnMobile = 30089,

    /// <summary>
    /// 30090_点击玩家头像
    /// </summary>
	DZClickPlayerHeadIcon = 30090,

    /// <summary>
    /// 30070_申请请求实时战绩，客户端每次都新发起请求
    /// </summary>
    DZApplyShowRealTimeRecordAndTourists = 30070,

    /// <summary>
    /// 30071_显示实时战绩和游客列表
    /// </summary>
    DZShowRealTimeRecordAndTourists = 30071,

	/// <summary>
	/// 30072_移动端根据好友列表获得好友信息
	/// </summary>
	DZGetFriendsInfo = 30072,

    /// <summary>
    /// 30073_申请好友列表
    /// </summary>
    DZApplyFriends = 30073,

    /// <summary>
    /// 30074_显示好友列表
    /// </summary>
    DZShowFriends = 30074,

    /// <summary>
    /// 30075_显示最后的结账单
    /// </summary>
    DZShowFinalStatement = 30075,

	/// <summary>
	/// 30076_移动端根据好友列表获得好友桌子信息
	/// </summary>
	DZGetFriendsTableInfo = 30076,

    /// <summary>
    /// 30078_房主点击关闭成绩单
    /// </summary>
    DZCloseFinalStatementPanel = 30078,

    /// <summary>
    /// 30079_强制退出房间
    /// </summary>
    DZForceLeaveTable = 30079,

	
	/// <summary>
	/// 30080_移动端根据好友列表获得好友信息
	/// </summary>
	DZGetFriendsInfo2 = 30080,

	/// <summary>
	/// 30085_申请房主功能
	/// </summary>
	DZApplyRoomMasterFunction = 30085,

	/// <summary>
	/// 30086_房主设置房主功能选项(在关闭弹框的时候还要设置一次)
	/// </summary>
	DZResponseRoomMasterFunction = 30086,

	/// <summary>
	/// 30087_获得群成员列表
	/// </summary>
	DZGetGroupUsers = 30087,

	/// <summary>
	/// 30088_房主点击玩家头像任命这个人免申请筹码
	/// </summary>
	DZApplyChipWithoutCommit = 30088,

    /// <summary>
    /// 30091_点击头像之后的功能按钮点击请求
    /// </summary>
	DZResponseClickPlayerHeadIcon = 30091,
}
